package com.whmskj.xjlhbc.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import com.whmskj.xjlhbc.core.AjaxResult;
import com.whmskj.xjlhbc.service.ITvLargeScreenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 电视大屏
 */
@SaIgnore
@RestController
@RequestMapping("/tv/largeScreen")
public class TvController {

    @Autowired
    private ITvLargeScreenService service;

    @GetMapping("/get")
    public AjaxResult get(){
        Object result = service.get();
        return AjaxResult.success(result);
    }

    @GetMapping("/get1")
    public AjaxResult get1(){
        Object result = service.get1();
        return AjaxResult.success(result);
    }

    @GetMapping("/get2")
    public AjaxResult get2(){
        Object result = service.get2();
        return AjaxResult.success(result);
    }
    @GetMapping("/get3")
    public AjaxResult get3(){
        Object result = service.get3();
        return AjaxResult.success(result);
    }

    @GetMapping("/get4")
    public AjaxResult get4(){
        Object result = service.get4();
        return AjaxResult.success(result);
    }

}
